

import happy from './happy.png'

export const option = (
  safe
) => {
  console.log(safe) // vue的this对象
  return {
    // mockBtn: true,
    submitText: '搜索',
    // printBtn: true,
    emptyBtn: false,
    menuSpan: 6,
    column: [
      {
        minWidth: 80,
        width: 240,
        label: '车站',
        prop: 'siteId',
        span: 6,
        search: true,
        type: 'select',
        filterable: true,
        dicData: []
      }
    ]
  }
}
export const birthdayOption = (
  safe
) => {
  console.log(safe) // vue的this对象
  return {
    index: true,
    align: 'center',
    headerAlign: 'center',
    border: true,
    stripe: false,
    addBtn: false,
    refreshBtn: false,
    columnBtn: false,
    searchBtn: false,
    delBtn: false, // 行内删除按钮
    excelBtn: false, // 导出Excel按钮
    labelWidth: 200, // 弹出表单的标题的统一宽度
    menu: false,
    column: [
      {
        label: '姓名',
        prop: 'nickname'
      },
      {
        label: '性别',
        prop: 'gender'
      },
      {
        label: '组织机构',
        prop: 'orgName'
      },
      {
        label: '岗位',
        prop: 'postName'
      },
      {
        label: '生日',
        prop: 'birthday'
      }
    ]
  }
}
